package com.test.finkcdc.entity;

import io.debezium.data.Envelope;
import lombok.Data;

import java.io.Serializable;

@Data
public class JsonRecord implements Serializable {
    private final String tableName;
    private final Envelope.Operation op;
    private final Object jsonBean;
    public JsonRecord(String tableName,Envelope.Operation op,Object jsonBean){
        this.tableName=tableName;
        this.op=op;
        this.jsonBean=jsonBean;
    }
}
